<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%request.setCharacterEncoding("utf-8");%>
<jsp:useBean id="student" class="st.student" scope="page"/>
<jsp:setProperty name="student" property="*"/>
<!-- jsp:setProperty name="userForm" property="affect" value='<%=request.getParameterValues("affect")%>'/> -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP '405-1.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <table width="500" height="300" border="0" align="center" cellpadding="0" cellspacing="0">

    <tr>
      <td width="88" align="center" bgcolor="#FFFFFF">用户名：</td>
      <td width="359" bgcolor="#FFFFFF">&nbsp;${student.username}</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFFFFF">密&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
      <td bgcolor="#FFFFFF">&nbsp;${student.pwd}</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFFFFF">性&nbsp;&nbsp;&nbsp;&nbsp;别：</td>
      <td bgcolor="#FFFFFF">&nbsp;${student.sex}</td>
    </tr>
    <tr>
      <td align="center" bgcolor="#FFFFFF">爱&nbsp;&nbsp;&nbsp;&nbsp;好：</td>
      <td bgcolor="#FFFFFF">&nbsp;${student.affect[0]} ${student.affect[1]} ${student.affect[2]} ${student.affect[3]}</td>
    </tr>
    <tr>
      <td colspan="1" align="center" bgcolor="#FFFFFF">
        <input name="Button" type="button" class="btn_grey" value="返回" onClick="window.location.href='index.jsp'">
&nbsp;</td>
    </tr>
  </table>
  </body>
</html>
